package com.example.toutiao.mvp.presenter

open class BasePresenter<V> {
    private var mBaseView :V?=null
    /*绑定view*/
    fun bindView(mBaseView:V){
        this.mBaseView=mBaseView
    }
    /*解绑view*/
    fun unBindView(){
        this.mBaseView =null
    }
    /*获得view*/
    fun getBaseView()=mBaseView
}